import React, { Component } from 'react';
import styles from './index.module.less';
import TaskList from './taskList';
import TaskDetail from './taskDetail.js';

class Task extends Component {

	render() {
		const { taskid, bannerTips } = this.props;
		return (
			<div className={styles.App}>
				<div className={styles.leftBar}>
					<TaskList taskid={taskid} />
				</div>
				<div className={styles.rightContent}>
					<TaskDetail bannerTips={bannerTips} />
				</div>
			</div>
		);
	}
}

export default Task